import axios from "axios"

export function tuan_list(paload = {}) {
    return axios.get('/api/tuan/list', { params: paload })
}

export function shop_list(paload = {}) {
    return axios.get('/api/shop/list', { params: paload })
}
// 注册
export function user_register(paload = {}) {
    return axios.post('/api/user/register', paload)
}
// 登录
export function user_login(paload = {}) {
    return axios.post('/api/user/login', paload)
}

// 店铺详情
export function shop_shopinfo(paload = {}) {
    return axios.get('/api/shop/shopinfo', { params: paload })
}